package dk.liljedahl.christian.apx.simpleexample;

import processing.core.PApplet;
import processing.serial.Serial;

public class ProcessingPlant extends PApplet implements Runnable {

	public ProcessingPlant(){		
	}
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static void main(String args[]) {
	    PApplet.main(new String[] { "", "ProcessingPlant" });
	  }	
	public String[] SerialPorts(){
		return Serial.list();		
	}
	public void setup() {
		size(300, 300);
		background(255);
		fill(0);		
		
	}
	// position is public, to make it accessible from SwtUI
	public int position = 30;
	public void draw() {
		  background(255);

		  ellipse(position, 150, 25, 25);
		}

}
